<html>
 <head>
    <title>[var.TITLE]</title>
    <link href="[var.ROOT_CSS_DIR]/main.css" rel="STYLESHEET" type="text/css" charset="iso-8859-1" hreflang="en-us">
    <link href="[var.ROOT_CSS_DIR]/facet/style.css" rel="STYLESHEET" type="text/css" charset="iso-8859-1" hreflang="en-us">
    <script type="text/javascript" src="[var.ROOT_DIR]js/common.js"></script>
    <script type="text/javascript" src="[var.ROOT_DIR]js/doiMenuDOM.js"></script>
    <script type="text/javascript" src="[var.ROOT_DIR]js/functions.js"></script>
    <script type="text/javascript" src="[var.ROOT_DIR]js/jsmenu.php"></script>
    <script type="text/javascript" src="[var.ROOT_DIR]js/jsmenu.cfg"></script>
    <script type="text/javascript" src="[var.ROOT_DIR]js/jsverify.php?session=[var.SessionVar]"></script>
    <script type="text/javascript" src="[var.ROOT_DIR]js/jsinit.php?session=[var.SessionVar]"></script>
 </head>
 <body bgcolor="FFFFFF" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
    <table border="0" cellspacing="0" cellpadding="0" width="100%" align="[var.POSITION]">
        <tr>
            <td>[tbs_include.onshow;file=[var.HTMLHeader];getob;]</td>
        </tr>
        <tr>
            <td>
            <table border="0" cellspacing="0" cellpadding="0" width="100%">
                <tr>
                    <td class="mainmenu2"><img src="images/spacer.gif" height="1" width="1"></td>
                </tr>
                <tr>
                    <td background="[var.ROOT_IMG_DIR]/back-menu.gif">
                    <table border="0" cellspacing="0" cellpadding="0" width="100%">
                        <tr>
                            <td>
                            <script language="JavaScript" type="text/JavaScript">menu.Build();</script>
                          </td>
                          <td class="head-login">Login as [var.USERPROFILE_NAME]</td>
                        </tr>
                      </table>
                    </td>
                </tr>

                <tr>
                    <td class="mainmenu2"><img src="images/spacer.gif" height="1" width="1"></td>
                </tr>
            </table>
            </td>
        </tr>
        <tr height="100%">
            <td>
            <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
                <tr valign="top">
                    <td width="100%">
                        <table border="0" cellspacing="0" cellpadding="0" width="100%">
                            <tr>
                                <td class="head-path"></td>
                                <td class="corner-date">[var.CORNER_DATE]</td>
                            </tr>
                        </table>
                        <table border="0" cellspacing="0" cellpadding="5" width="100%">
                            <tr>
                                <td class="FacetHeaderContent" >.:[var.SubHeaderTitle]:.</td>
                            </tr>
                        </table>

                        <table border="0" cellspacing="0" cellpadding="5" width="100%">
                            <tr>
                                <td class="contentTitle">
                                Menu
                                </td>
                            </tr>
                            <tr>
                                <td class="content2">
                                <table cellspacing="2" cellpadding="0">
                                 <tr>
                                   <td>
                                    <input type="button" name="Action" value="<<Back" class="button" onClick="self.location.replace('[sys.script_name]')">
                                   </td>
                                                                                   <td>
                                     <input type="button" name="Action" value="Done" class="button" onClick="self.location.replace('[var.SERVER_URL]')">
                                   </td>
                                 </tr>
                                </table>
                                </td>
                            </tr>
                            <tr>
                                <td class="content2">
                        <!-- FORM SECTION -->
                        <table border="0" cellspacing="0" cellpadding="0">
                        <form method="post" action="[var.FormAction]" name="[var.HTMLFormName]" >
                              <tr>
                                <td class="fieldCaption" align="right">Line Business Code</td>
                                <td class="fieldCaption">:</td>
                                <td class="fieldCaption"><input type="text" name="[bln.linebusiness_code]" value="[blv.linebusiness_code;noerr]" size="40" onblur='[var.InitFunction]' class="input" [tbs_check;if [var.FormMode]=Edit;then 'readonly';else '']></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption" align="right">Line Business Name</td>
                                <td class="fieldCaption">:</td>
                                <td class="fieldCaption"><input type="text" name="[bln.linebusiness_name]" value="[blv.linebusiness_name;noerr]" size="40" class="input"></td>
                              </tr>
                              <tr>
                                <td class="fieldCaption" align="right">Remarks</td>
                                <td class="fieldCaption">:</td>
                                <td class="fieldCaption"><input type="text" name="[bln.remarks]" value="[blv.remarks;noerr]" size="40" class="input"></td>
                              </tr>
                              <tr>
                               <td class="fieldCaption"></td>
                               <td class="fieldCaption"></td>
                               <td align="right" class="fieldCaption">
                                <table border="0" cellspacing="2" cellpadding="0">
                                    <tr>
                                        <td>[tbs_check;block=td;if [var.FormMode]=Add][tbs_check;block=td;if [var.USER_CANINSERT]=1]
                                        <input name="Action" type="submit" value="Add" class="button" onclick="return [tbs_check;if [var.Verification]=Enable;then 'VerifyForm(this.form)';else 'true']">
                                        </td>
                                        <td>[tbs_check;block=td;if [var.FormMode]=Edit][tbs_check;block=td;if [var.USER_CANUPDATE]=1]
                                        <input name="Action" type="submit" value="Update" class="button" onclick="return [tbs_check;if [var.Verification]=Enable;then 'VerifyForm(this.form)';else 'true']">
                                        </td>
                                        <td>[tbs_check;block=td;if [var.FormMode]=Edit][tbs_check;block=td;if [var.USER_CANDELETE]=1]
                                        <input name="Action" type="submit" value="Delete" class="button">
                                        </td>
                                        <td>
                                        <input name="Action" type="submit" value="Cancel" class="button">
                                        </td>
                                    </tr>
                                </table>
                                </td>
                              </tr>
                         </form>
                         </table>
                         <!-- FORM SECTION -->
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            </td>
        </tr>
        <tr>
            <td>
            <br>
            <table border="0" cellspacing="0" cellpadding="0" width="100%">
                <tr>
                    <td class="footer1"><img src="images/spacer.gif" height="1" width="1"></td>
                </tr>
                <!--tr>
                    <td class="footer2">Prototype Test - Web Application</td>
                </tr-->
            </table>
            </td>
        </tr>
    </table>
 </body>
</html>
